Skip to content

perf: use unique_ptr instead of shared_ptr#1374

Merged
gongxun0928 merged 1 commit into
apache:mainfrom
gongxun0928:perf/replace-unnecessary-shared-pointers
Oct 8, 2025
Merged

perf: use unique_ptr instead of shared_ptr#1374
gongxun0928 merged 1 commit into
apache:mainfrom
gongxun0928:perf/replace-unnecessary-shared-pointers

Conversation

@gongxun0928
Copy link
Copy Markdown
Contributor

Replace unnecessary shared pointers to improve performance

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


@gongxun0928 gongxun0928 force-pushed the perf/replace-unnecessary-shared-pointers branch from 3c595ba to 1cd4919 Compare October 6, 2025 16:34
Replace unnecessary shared pointers to improve insertion performance
@gongxun0928 gongxun0928 force-pushed the perf/replace-unnecessary-shared-pointers branch from 1cd4919 to 1e016ca Compare October 8, 2025 02:33
@gongxun0928 gongxun0928 merged commit 1ca7a64 into apache:main Oct 8, 2025
49 of 50 checks passed
hw118118 pushed a commit to hw118118/cloudberrydb that referenced this pull request Jan 27, 2026
performance: replace unnecessary shared_ptr with unique_ptr to eliminate atomic refcounting and reduce contention on hot insert paths.
hw118118 pushed a commit to hw118118/cloudberrydb that referenced this pull request Jan 27, 2026
performance: replace unnecessary shared_ptr with unique_ptr to eliminate atomic refcounting and reduce contention on hot insert paths.
hw118118 pushed a commit to hw118118/cloudberrydb that referenced this pull request Jan 28, 2026
performance: replace unnecessary shared_ptr with unique_ptr to eliminate atomic refcounting and reduce contention on hot insert paths.
chenjinbao1989 pushed a commit to chenjinbao1989/cloudberrydb that referenced this pull request Apr 12, 2026
performance: replace unnecessary shared_ptr with unique_ptr to eliminate atomic refcounting and reduce contention on hot insert paths.
chenjinbao1989 pushed a commit to chenjinbao1989/cloudberrydb that referenced this pull request Apr 21, 2026
performance: replace unnecessary shared_ptr with unique_ptr to eliminate atomic refcounting and reduce contention on hot insert paths.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants